package com.njtoyo.taxi.admin.mapper.master.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.library.Const;
import com.njtoyo.taxi.admin.mapper.master.entity.RideCancellation;
import com.njtoyo.taxi.admin.rest.export.customer.CustomerArrearsExportPresenter;
import com.njtoyo.taxi.admin.rest.presenter.customer.CustomerArrearsListPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.customer.CustomerArrearsExportWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.customer.CustomerArrearsQueryWrapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Dell
 * @since 2021-11-16
 */
@Repository
@DS(Const.PRIMARY_DS)
public interface RideCancellationMapper extends BaseMapper<RideCancellation> {
    Page<CustomerArrearsListPresenter> getRideCancellationForArrearsList(CustomerArrearsQueryWrapper wrapper);

    List<CustomerArrearsExportPresenter> exportRideCancellationForArrearsList(CustomerArrearsExportWrapper wrapper);
}
